package com.framework.service.core.dao.mapper;

import com.framework.common.jdbc.base.BaseMapper;
import com.framework.service.core.dao.model.City;
import com.framework.service.core.dao.model.City;
import com.framework.service.core.pojo.CityDo;

import java.util.List;

public interface CityMapper extends BaseMapper<City> {

    /**
     * 查询城市列表
     * @param city
     * @return
     */
    List<City> selectByCondition(City city);

    /**
     * 获取所有城市列表
     * @return
     */
    List<CityDo> selectCityAll();

    City selectById(String id);
}